package cn.snow.boot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 动态切换数据源的App启动类
 *
 * @author liuwanxiang
 * @version 2019/05/28
 */
@MapperScan(value = "cn.snow")
@SpringBootApplication
public class DynamicDatasourceApp {

    public static void main(String[] args) {

        SpringApplication.run(DynamicDatasourceApp.class,args);

    }

}
